<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>Title</title>

  <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/mavon-editor/dist/mavon-editor.js"></script>
  <link href="https://cdn.jsdelivr.net/npm/mavon-editor/dist/css/index.css" rel="stylesheet">

  <style>
  </style>
</head>
<body>

<div id="app">
  <mavon-editor style="height: 100%;" ref=md @save="saveArticles"></mavon-editor>
</div>

<script>
  const app = new Vue({
    el: '#app',
    data: {
      msg: 'Hello Vue!',
      content: ''
    },
    created() {
      Vue.use(window.MavonEditor)
    },
    methods: {
      saveArticles(value, render) {
      }
    }
  })
</script>

</body>
</html>
